Skip to content

fix(transloco): 🐛 fixed generated scope name in subdirectories#738

Closed
JordanW9232 wants to merge 2 commits intojsverse:masterfrom
JordanW9232:transloco-loads-nested-scopes-in-a-wrong-way
Closed

fix(transloco): 🐛 fixed generated scope name in subdirectories#738
JordanW9232 wants to merge 2 commits intojsverse:masterfrom
JordanW9232:transloco-loads-nested-scopes-in-a-wrong-way

Conversation

@JordanW9232
Copy link
Copy Markdown

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: 559

What is the new behavior?

Using a file in a nested directory such as "i18n/nested-scopes/admin-page/en.json" will generate the scope name as "nestedScope.adminPage" rather than "nestedScopeAdminPage".

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@shaharkazaz
Copy link
Copy Markdown
Collaborator

@JordanW9232 Please refer to my comment here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants